.class public Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;
.super Ljava/lang/Object;
.source "OptionalHandlerFactory.java"


# static fields
.field private static final CLASS_NAME_DOM_DOCUMENT:Ljava/lang/String; = "org.w3c.dom.Node"

.field private static final CLASS_NAME_DOM_NODE:Ljava/lang/String; = "org.w3c.dom.Node"

.field private static final DESERIALIZERS_FOR_JAVAX_XML:Ljava/lang/String; = "org.codehaus.jackson.map.ext.CoreXMLDeserializers"

.field private static final DESERIALIZERS_FOR_JODA_DATETIME:Ljava/lang/String; = "org.codehaus.jackson.map.ext.JodaDeserializers"

.field private static final DESERIALIZER_FOR_DOM_DOCUMENT:Ljava/lang/String; = "org.codehaus.jackson.map.ext.DOMDeserializer$DocumentDeserializer"

.field private static final DESERIALIZER_FOR_DOM_NODE:Ljava/lang/String; = "org.codehaus.jackson.map.ext.DOMDeserializer$NodeDeserializer"

.field private static final PACKAGE_PREFIX_JAVAX_XML:Ljava/lang/String; = "javax.xml."

.field private static final PACKAGE_PREFIX_JODA_DATETIME:Ljava/lang/String; = "org.joda.time."

.field private static final SERIALIZERS_FOR_JAVAX_XML:Ljava/lang/String; = "org.codehaus.jackson.map.ext.CoreXMLSerializers"

.field private static final SERIALIZERS_FOR_JODA_DATETIME:Ljava/lang/String; = "org.codehaus.jackson.map.ext.JodaSerializers"

.field private static final SERIALIZER_FOR_DOM_NODE:Ljava/lang/String; = "org.codehaus.jackson.map.ext.DOMSerializer"

.field public static final instance:Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 41
    new-instance v0, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;

    invoke-direct {v0}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;-><init>()V

    sput-object v0, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->instance:Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;

    .line 19
    return-void
.end method

.method protected constructor <init>()V
    .locals 0

    .prologue
    .line 43
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private doesImplement(Ljava/lang/Class;Ljava/lang/String;)Z
    .locals 3
    .parameter
    .parameter "classNameToImplement"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;",
            "Ljava/lang/String;",
            ")Z"
        }
    .end annotation

    .prologue
    .local p1, actualType:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const/4 v1, 0x1

    .line 154
    move-object v0, p1

    .local v0, type:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    :goto_0
    if-nez v0, :cond_1

    .line 163
    const/4 v1, 0x0

    :cond_0
    return v1

    .line 155
    :cond_1
    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 159
    invoke-direct {p0, v0, p2}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->hasInterface(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 154
    invoke-virtual {v0}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;

    move-result-object v0

    goto :goto_0
.end method

.method private hasInterface(Ljava/lang/Class;Ljava/lang/String;)Z
    .locals 7
    .parameter
    .parameter "interfaceToImplement"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;",
            "Ljava/lang/String;",
            ")Z"
        }
    .end annotation

    .prologue
    .local p1, type:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const/4 v2, 0x1

    const/4 v3, 0x0

    .line 168
    invoke-virtual {p1}, Ljava/lang/Class;->getInterfaces()[Ljava/lang/Class;

    move-result-object v1

    .line 169
    .local v1, interfaces:[Ljava/lang/Class;
    array-length v5, v1

    move v4, v3

    :goto_0
    if-lt v4, v5, :cond_1

    .line 175
    array-length v5, v1

    move v4, v3

    :goto_1
    if-lt v4, v5, :cond_2

    move v2, v3

    .line 180
    :cond_0
    return v2

    .line 169
    :cond_1
    aget-object v0, v1, v4

    .line 170
    .local v0, iface:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_0

    .line 169
    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 175
    .end local v0           #iface:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    :cond_2
    aget-object v0, v1, v4

    .line 176
    .restart local v0       #iface:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    invoke-direct {p0, v0, p2}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->hasInterface(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v6

    if-nez v6, :cond_0

    .line 175
    add-int/lit8 v4, v4, 0x1

    goto :goto_1
.end method

.method private hasInterfaceStartingWith(Ljava/lang/Class;Ljava/lang/String;)Z
    .locals 7
    .parameter
    .parameter "prefix"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;",
            "Ljava/lang/String;",
            ")Z"
        }
    .end annotation

    .prologue
    .local p1, type:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const/4 v2, 0x1

    const/4 v3, 0x0

    .line 202
    invoke-virtual {p1}, Ljava/lang/Class;->getInterfaces()[Ljava/lang/Class;

    move-result-object v1

    .line 203
    .local v1, interfaces:[Ljava/lang/Class;
    array-length v5, v1

    move v4, v3

    :goto_0
    if-lt v4, v5, :cond_1

    .line 209
    array-length v5, v1

    move v4, v3

    :goto_1
    if-lt v4, v5, :cond_2

    move v2, v3

    .line 214
    :cond_0
    return v2

    .line 203
    :cond_1
    aget-object v0, v1, v4

    .line 204
    .local v0, iface:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6, p2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v6

    if-nez v6, :cond_0

    .line 203
    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 209
    .end local v0           #iface:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    :cond_2
    aget-object v0, v1, v4

    .line 210
    .restart local v0       #iface:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    invoke-direct {p0, v0, p2}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->hasInterfaceStartingWith(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v6

    if-nez v6, :cond_0

    .line 209
    add-int/lit8 v4, v4, 0x1

    goto :goto_1
.end method

.method private hasSupertypeStartingWith(Ljava/lang/Class;Ljava/lang/String;)Z
    .locals 4
    .parameter
    .parameter "prefix"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class",
            "<*>;",
            "Ljava/lang/String;",
            ")Z"
        }
    .end annotation

    .prologue
    .local p1, rawType:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const/4 v2, 0x1

    .line 186
    invoke-virtual {p1}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;

    move-result-object v1

    .local v1, supertype:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    :goto_0
    if-nez v1, :cond_1

    .line 192
    move-object v0, p1

    .local v0, cls:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    :goto_1
    if-nez v0, :cond_2

    .line 197
    const/4 v2, 0x0

    .end local v0           #cls:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    :cond_0
    return v2

    .line 187
    :cond_1
    invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3, p2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 186
    invoke-virtual {v1}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;

    move-result-object v1

    goto :goto_0

    .line 193
    .restart local v0       #cls:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    :cond_2
    invoke-direct {p0, v0, p2}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->hasInterfaceStartingWith(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_0

    .line 192
    invoke-virtual {v0}, Ljava/lang/Class;->getSuperclass()Ljava/lang/Class;

    move-result-object v0

    goto :goto_1
.end method

.method private instantiate(Ljava/lang/String;)Ljava/lang/Object;
    .locals 1
    .parameter "className"

    .prologue
    .line 144
    :try_start_0
    invoke-static {p1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/LinkageError; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    .line 149
    :goto_0
    return-object v0

    .line 148
    :catch_0
    move-exception v0

    .line 149
    :goto_1
    const/4 v0, 0x0

    goto :goto_0

    .line 146
    :catch_1
    move-exception v0

    goto :goto_1
.end method


# virtual methods
.method public findDeserializer(Lcom/burstly/jackson/type/JavaType;Lcom/burstly/jackson/map/DeserializationConfig;Lcom/burstly/jackson/map/DeserializerProvider;)Lcom/burstly/jackson/map/JsonDeserializer;
    .locals 10
    .parameter "type"
    .parameter "config"
    .parameter "p"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/burstly/jackson/type/JavaType;",
            "Lcom/burstly/jackson/map/DeserializationConfig;",
            "Lcom/burstly/jackson/map/DeserializerProvider;",
            ")",
            "Lcom/burstly/jackson/map/JsonDeserializer",
            "<*>;"
        }
    .end annotation

    .prologue
    const/4 v7, 0x0

    .line 95
    invoke-virtual {p1}, Lcom/burstly/jackson/type/JavaType;->getRawClass()Ljava/lang/Class;

    move-result-object v6

    .line 96
    .local v6, rawType:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    invoke-virtual {v6}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    .line 99
    .local v0, className:Ljava/lang/String;
    const-string v8, "org.joda.time."

    invoke-virtual {v0, v8}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_1

    .line 100
    const-string v3, "org.codehaus.jackson.map.ext.JodaDeserializers"

    .line 111
    .local v3, factoryName:Ljava/lang/String;
    :goto_0
    invoke-direct {p0, v3}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->instantiate(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    .line 112
    .local v4, ob:Ljava/lang/Object;
    if-nez v4, :cond_5

    .line 132
    .end local v3           #factoryName:Ljava/lang/String;
    .end local v4           #ob:Ljava/lang/Object;
    :cond_0
    :goto_1
    return-object v7

    .line 101
    :cond_1
    const-string v8, "javax.xml."

    invoke-virtual {v0, v8}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v8

    if-nez v8, :cond_2

    .line 102
    const-string v8, "javax.xml."

    invoke-direct {p0, v6, v8}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->hasSupertypeStartingWith(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_3

    .line 103
    :cond_2
    const-string v3, "org.codehaus.jackson.map.ext.CoreXMLDeserializers"

    .restart local v3       #factoryName:Ljava/lang/String;
    goto :goto_0

    .line 104
    .end local v3           #factoryName:Ljava/lang/String;
    :cond_3
    const-string v8, "org.w3c.dom.Node"

    invoke-direct {p0, v6, v8}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->doesImplement(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_4

    .line 105
    const-string v7, "org.codehaus.jackson.map.ext.DOMDeserializer$DocumentDeserializer"

    invoke-direct {p0, v7}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->instantiate(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/burstly/jackson/map/JsonDeserializer;

    goto :goto_1

    .line 106
    :cond_4
    const-string v8, "org.w3c.dom.Node"

    invoke-direct {p0, v6, v8}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->doesImplement(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_0

    .line 107
    const-string v7, "org.codehaus.jackson.map.ext.DOMDeserializer$NodeDeserializer"

    invoke-direct {p0, v7}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->instantiate(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/burstly/jackson/map/JsonDeserializer;

    goto :goto_1

    .restart local v3       #factoryName:Ljava/lang/String;
    .restart local v4       #ob:Ljava/lang/Object;
    :cond_5
    move-object v5, v4

    .line 116
    check-cast v5, Lcom/burstly/jackson/map/util/Provider;

    .line 117
    .local v5, prov:Lcom/burstly/jackson/map/util/Provider;,"Lcom/burstly/jackson/map/util/Provider<Lcom/burstly/jackson/map/deser/std/StdDeserializer<*>;>;"
    invoke-interface {v5}, Lcom/burstly/jackson/map/util/Provider;->provide()Ljava/util/Collection;

    move-result-object v2

    .line 120
    .local v2, entries:Ljava/util/Collection;,"Ljava/util/Collection<Lcom/burstly/jackson/map/deser/std/StdDeserializer<*>;>;"
    invoke-interface {v2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v8

    :cond_6
    invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-nez v9, :cond_8

    .line 126
    invoke-interface {v2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v8

    :cond_7
    invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_0

    invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/burstly/jackson/map/deser/std/StdDeserializer;

    .line 127
    .local v1, deser:Lcom/burstly/jackson/map/deser/std/StdDeserializer;,"Lcom/burstly/jackson/map/deser/std/StdDeserializer<*>;"
    invoke-virtual {v1}, Lcom/burstly/jackson/map/deser/std/StdDeserializer;->getValueClass()Ljava/lang/Class;

    move-result-object v9

    invoke-virtual {v9, v6}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z

    move-result v9

    if-eqz v9, :cond_7

    move-object v7, v1

    .line 128
    goto :goto_1

    .line 120
    .end local v1           #deser:Lcom/burstly/jackson/map/deser/std/StdDeserializer;,"Lcom/burstly/jackson/map/deser/std/StdDeserializer<*>;"
    :cond_8
    invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/burstly/jackson/map/deser/std/StdDeserializer;

    .line 121
    .restart local v1       #deser:Lcom/burstly/jackson/map/deser/std/StdDeserializer;,"Lcom/burstly/jackson/map/deser/std/StdDeserializer<*>;"
    invoke-virtual {v1}, Lcom/burstly/jackson/map/deser/std/StdDeserializer;->getValueClass()Ljava/lang/Class;

    move-result-object v9

    if-ne v6, v9, :cond_6

    move-object v7, v1

    .line 122
    goto :goto_1
.end method

.method public findSerializer(Lcom/burstly/jackson/map/SerializationConfig;Lcom/burstly/jackson/type/JavaType;)Lcom/burstly/jackson/map/JsonSerializer;
    .locals 10
    .parameter "config"
    .parameter "type"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/burstly/jackson/map/SerializationConfig;",
            "Lcom/burstly/jackson/type/JavaType;",
            ")",
            "Lcom/burstly/jackson/map/JsonSerializer",
            "<*>;"
        }
    .end annotation

    .prologue
    const/4 v8, 0x0

    .line 54
    invoke-virtual {p2}, Lcom/burstly/jackson/type/JavaType;->getRawClass()Ljava/lang/Class;

    move-result-object v6

    .line 55
    .local v6, rawType:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    invoke-virtual {v6}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    .line 58
    .local v0, className:Ljava/lang/String;
    const-string v7, "org.joda.time."

    invoke-virtual {v0, v7}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_0

    .line 59
    const-string v3, "org.codehaus.jackson.map.ext.JodaSerializers"

    .line 69
    .local v3, factoryName:Ljava/lang/String;
    :goto_0
    invoke-direct {p0, v3}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->instantiate(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v4

    .line 70
    .local v4, ob:Ljava/lang/Object;
    if-nez v4, :cond_4

    move-object v7, v8

    .line 90
    .end local v3           #factoryName:Ljava/lang/String;
    .end local v4           #ob:Ljava/lang/Object;
    :goto_1
    return-object v7

    .line 60
    :cond_0
    const-string v7, "javax.xml."

    invoke-virtual {v0, v7}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v7

    if-nez v7, :cond_1

    .line 61
    const-string v7, "javax.xml."

    invoke-direct {p0, v6, v7}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->hasSupertypeStartingWith(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_2

    .line 62
    :cond_1
    const-string v3, "org.codehaus.jackson.map.ext.CoreXMLSerializers"

    .restart local v3       #factoryName:Ljava/lang/String;
    goto :goto_0

    .line 63
    .end local v3           #factoryName:Ljava/lang/String;
    :cond_2
    const-string v7, "org.w3c.dom.Node"

    invoke-direct {p0, v6, v7}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->doesImplement(Ljava/lang/Class;Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_3

    .line 64
    const-string v7, "org.codehaus.jackson.map.ext.DOMSerializer"

    invoke-direct {p0, v7}, Lcom/burstly/jackson/map/ext/OptionalHandlerFactory;->instantiate(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/burstly/jackson/map/JsonSerializer;

    goto :goto_1

    :cond_3
    move-object v7, v8

    .line 66
    goto :goto_1

    .restart local v3       #factoryName:Ljava/lang/String;
    .restart local v4       #ob:Ljava/lang/Object;
    :cond_4
    move-object v5, v4

    .line 74
    check-cast v5, Lcom/burstly/jackson/map/util/Provider;

    .line 75
    .local v5, prov:Lcom/burstly/jackson/map/util/Provider;,"Lcom/burstly/jackson/map/util/Provider<Ljava/util/Map$Entry<Ljava/lang/Class<*>;Lcom/burstly/jackson/map/JsonSerializer<*>;>;>;"
    invoke-interface {v5}, Lcom/burstly/jackson/map/util/Provider;->provide()Ljava/util/Collection;

    move-result-object v1

    .line 78
    .local v1, entries:Ljava/util/Collection;,"Ljava/util/Collection<Ljava/util/Map$Entry<Ljava/lang/Class<*>;Lcom/burstly/jackson/map/JsonSerializer<*>;>;>;"
    invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v7

    :cond_5
    invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-nez v9, :cond_7

    .line 84
    invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v9

    :cond_6
    invoke-interface {v9}, Ljava/util/Iterator;->hasNext()Z

    move-result v7

    if-nez v7, :cond_8

    move-object v7, v8

    .line 90
    goto :goto_1

    .line 78
    :cond_7
    invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/Map$Entry;

    .line 79
    .local v2, entry:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/Class<*>;Lcom/burstly/jackson/map/JsonSerializer<*>;>;"
    invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v9

    if-ne v6, v9, :cond_5

    .line 80
    invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/burstly/jackson/map/JsonSerializer;

    goto :goto_1

    .line 84
    .end local v2           #entry:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/Class<*>;Lcom/burstly/jackson/map/JsonSerializer<*>;>;"
    :cond_8
    invoke-interface {v9}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/Map$Entry;

    .line 85
    .restart local v2       #entry:Ljava/util/Map$Entry;,"Ljava/util/Map$Entry<Ljava/lang/Class<*>;Lcom/burstly/jackson/map/JsonSerializer<*>;>;"
    invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/Class;

    invoke-virtual {v7, v6}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z

    move-result v7

    if-eqz v7, :cond_6

    .line 86
    invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/burstly/jackson/map/JsonSerializer;

    goto :goto_1
.end method
